<?php
/**
 * Radcodes - SocialEngine Module
 *
 * @category   Application_Extensions
 * @package    Game
 * @copyright  Copyright (c) 2009-2010 Radcodes LLC (http://www.radcodes.com)
 * @license    http://www.radcodes.com/license/
 * @version    $Id$
 * @author     Vincent Van <vincent@radcodes.com>
 */
?>
<?php $game = $this->game; ?>
<div class='game_profile_stats'>
  <ul>
    <li><?php echo $this->translate('Submitter: %s', $this->game->getOwner()->toString())?></li>
    <li><?php echo $this->translate('Posted: %s', $this->timestamp($this->game->creation_date))?></li>
    <?php if ($this->game->creation_date != $this->game->modified_date): ?>
      <li><?php echo $this->translate('Updated: %s', $this->timestamp($this->game->modified_date))?></li>
    <?php endif; ?>
    <li><?php echo $this->translate('Content Rating: %s', $this->translate($this->game->getContentRating())); ?>
    <li>
      <?php echo $this->translate('Leaderboard: %s', $this->translate($this->game->leaderboard_enabled ? 'Yes' : 'No'))?>
    </li>
    <li><?php echo $this->translate(array('%s favorite','%s favorites', $this->game->favorite_count), $this->locale()->toNumber($this->game->favorite_count));?></li>
    <li><?php echo $this->translate(array("%s comment", "%s comments", $this->game->comment_count), $this->locale()->toNumber($this->game->comment_count)); ?></li>
    <li><?php echo $this->translate(array('%1$s like', '%1$s likes', $this->game->like_count), $this->locale()->toNumber($this->game->like_count)); ?></li>
    <li><?php echo $this->translate(array('%s view', '%s views', $this->game->view_count), $this->locale()->toNumber($this->game->view_count)); ?></li>
  </ul>
</div>